const _ = require('lodash');
const config = require('../config');
const fse = require('fs-extra');

module.exports = async () => {
  if (!_.isEmpty(config.cname)) await fse.outputFile(config.deployDir + '/CNAME', config.cname);
};
